All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.java.swing.event.TableColumnModelEvent

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----com.sun.java.swing.event.TableColumnModelEvent

public class TableColumnModelEvent
extends EventObject
TableColumnModelEvent is used to notify listeners that a table column model has changed, such as a column was added, removed, or moved.

Warning: serialized objects of this class will not be compatible with future swing releases. The current serialization support is appropriate for short term storage or RMI between Swing1.0 applications. It will not be possible to load serialized Swing1.0 objects with future releases of Swing. The JDK1.2 release of Swing will be the compatibility baseline for the serialized form of Swing objects.

See Also:
TableColumnModelListener

Variable Index

 o fromIndex
The index of the column from where it was moved or removed
 o toIndex
The index of the column to where it was moved or added from

Constructor Index

 o TableColumnModelEvent(TableColumnModel, int, int)

Method Index

 o getFromIndex()
Returns the fromIndex.
 o getToIndex()
Returns the toIndex.

Variables

 o fromIndex
 protected int fromIndex
The index of the column from where it was moved or removed

 o toIndex
 protected int toIndex
The index of the column to where it was moved or added from

Constructors

 o TableColumnModelEvent
 public TableColumnModelEvent(TableColumnModel source,
                              int from,
                              int to)

Methods

 o getFromIndex
 public int getFromIndex()
Returns the fromIndex. Valid for removed or moved events

 o getToIndex
 public int getToIndex()
Returns the toIndex. Valid for add and moved events


All Packages  Class Hierarchy  This Package  Previous  Next  Index